package com.bobo.dto;

import java.util.List;

/**
 * Created by bobo on 2016/10/16.
 */

/**
 * 分页类
 */
public class Page<T> {

    //一共多少页
    private Integer pageNum;

    //每页数据
    private List<T> list;

    //当前页
    private Integer current;

    //每页多少行
    private  Integer pageSize;


    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public Integer getCurrent() {
        return current;
    }

    public void setCurrent(Integer current) {
        this.current = current;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }


}
